package com.zxy.ziems.server.collection.mapper;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.zxy.ziems.server.collection.pojo.entity.CollectionDevicePropertyEntity;
import com.zxy.ziems.server.collection.pojo.entity.DlAccPoint;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Set;


/**
 * 电力监控数据同步
 */
@Mapper
@DS("dl")
public interface DLMapper {


    /**
     * 获取点位信息
     * @return
     */
    public List<DlAccPoint> pointList();

    /**
     * 获取数据
     * @param codeSet
     * @return
     */
    List<CollectionDevicePropertyEntity> getByTags(@Param("codeSet") Set<String> codeSet);
}
